<?php
import('@.Common.WhereMachine');
class MarkWhereMachine extends WhereMachine{
    public function id($id){
    //对应EventMarkModel故应使用eid字段
        $this->map['eid']= array('IN', $id);
        return $this;
    }
    public function isTake(){
        $this->map['take']= EventMarkModel::C('MARK_TAKE');
        return $this;
    }
    public function isWish(){
        $this->map['wish']= EventMarkModel::C('MARK_WISH');
        return $this;
    }
}
?>